package com.lagou.niancheng.core.session;

import com.lagou.niancheng.core.config.Configuration;

/**
 * com.lagou.niancheng.core.session.ExecutorFactory
 *
 * @author 大犬
 * @date 2020/3/27
 */
public interface ExecutorFactory {
    /**
     * 创建执行器
     *
     * @param configuration 配置对象
     * @return 返回创建的执行器
     */
    Executor createExecutor(Configuration configuration);
}
